package com.wn.mapper;

import com.wn.ov.HospitalizedApplicationOv;
import com.wn.pojo.HospitalizedApplication;

import java.util.List;

public interface HospitalizedApplicationMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(HospitalizedApplication record);

    int insertSelective(HospitalizedApplication record);

    HospitalizedApplication selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(HospitalizedApplication record);

    int updateByPrimaryKey(HospitalizedApplication record);


    //查询所有的出入院申请单
    List<HospitalizedApplicationOv> getInListByStatus(HospitalizedApplication hospitalizedApplication);

    List<HospitalizedApplicationOv> superSearch(String superSearchKeyWord);


    //出院审核
    int outHospital(Integer id);

    HospitalizedApplication selectByPatientId(Integer id);
}